
const { merge } = require("webpack-merge")

const config = require("./config/config")
const serve = require("./config/serve")
const build = require("./config/build")

// module.exports = function ({ development }) {
//     if (development) return { merge(config, serve) }
//     else return { merge(config, build) }
// }

module.exports = function ({ development }) {
    return merge(config, development ? serve : build)
}











